package com.scse.bms.service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.scse.bms.entity.FeedbackDO;
import com.scse.bms.mapper.FeedbackMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;


/**
 * @Title: FeedbackServiceImpl
 * @Author: 吴赠禹
 * @Date: 2021/2/27 2:43
 * @Version: 1.0
 * @Description: TODO
 */

@Service
@Transactional(rollbackFor = Exception.class)
public class FeedbackServiceImpl extends ServiceImpl<FeedbackMapper, FeedbackDO> implements FeedbackService {

    /**
     * update必须有一个字段不为空，因此我觉得BaseMapper的update会全部修改（否则如何知道要插入的是哪个字段，噢噢，有个set id = id保险在）
     * 所以应该支持动态增删改
     * TODO 2020-3-1 支持动态
     */
}
